package task06;

import java.util.ArrayList;

public class UserDaoList implements UserDao {
    //创建集合对象，用来保存用户信息
    ArrayList<User> userArrayList=new ArrayList<User>();




    @Override
    public void register(User user) {

    }

    @Override
    public boolean login(String name, String password) {
        return false;
    }
    public void show(){
        for (User user:userArrayList){
            System.out.println(user.getName()+":"+user.getPsaaword());
        }
    }
}
